@import "mymixins";
$custom-elements-sprite-bg: url('../images/custom-elements-sprite.png') no-repeat;
.jcf-hidden {
	display: block !important;
	position: absolute !important;
	left: -9999px !important; /* change to right: -9999px on RTL sites */
}
/* custom checkbox styles */
.chk-area {
	margin: 0 10px 0 0;
	float: left;
	width: 22px; 
	height: 22px;
	background: $custom-elements-sprite-bg -253px -14px;
}
.account-container{
	.form-group{
		&.radio,
		&.checkbox{
			line-height: 20px;
			label{
				padding: 0;
			}
		}
		.radio-inline{
			padding: 0;
		}
		.chk-area{
			width: 20px;
			height: 20px;
			border-radius: 4px;
			border:1px solid $bordercolor;
			border:$default-border;
			background: $white;
			font: 14px/16px $font-icon;
			text-align: center;
		}
		.chk-checked{
			border-color: $blue;
			background:$blue;
			color:$white;
			&:after{
				content: "\e91f";
			}
		}
	}
}
.chk-checked {
	background-position: -253px -45px;
}
.chk-focus {
	//border-color: #f00;
}
.chk-disabled {
	background-position: -253px -75px;
}

// no yes
.no-yes .chk-area{
	margin: 0 0px 0 0;
	float: left;
	width: 67px; 
	height: 30px;
	background: $custom-elements-sprite-bg -11px -11px;
}
.no-yes .chk-checked {
	background-position: -11px -44px;
}
.no-yes .chk-disabled {
	background-position: -11px -77px;
}

// on off
.check-out .chk-area{
	margin: 0 0px 0 0;
	float: left;
	width: 67px; 
	height: 30px;
	background: $custom-elements-sprite-bg -88px -11px;
}
.check-out .chk-checked {
	background-position: -88px -44px;
}
.check-out .chk-disabled {
	background-position: -88px -77px;
}

// on off
.on-off .chk-area{
	margin: 0 10px 0 0;
	float: left;
	width: 67px; 
	height: 30px;
	background: $custom-elements-sprite-bg -165px -11px;
}
.on-off .chk-checked {
	background-position: -165px -44px;
}
.on-off .chk-disabled {
	background-position: -165px -77px;
}


.jcf-label-disabled {
	color: #ccc;
}
/* custom radio styles */
.rad-area {
	margin: 0 10px 0 0;
	float: left;
	width: 22px;
	height: 22px;
	border-radius: 11px;
	font: 22px/22px $font-icon;
	background:$input-bg;
	color: darken($input-bg,22%);
	&:after{
		content: "\e917";
	}
	//background: $custom-elements-sprite-bg -283px -15px;
}

.rad-checked {
	//background-position: -283px -48px;
	background:$input-bg;
	color:$blue;
	&:after{
		content: "\e918";
	}
}
.rad-focus {
	//border-color: #f00;
}
.rad-disabled {
	//background-position: -283px -80px;
}
/* custom select styles */
.select-area {
	color:$base-color;
	background: $white;
	border:1px solid $bordercolor;
	background-image: none;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	cursor: default;
	display: block;
	font-size: 18px;
	line-height: 50px;
	font-family:$light-font;
	height: 50px;
	padding: 0px 12px;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	width: 100% !important;
}
.select-focus {
	border-color: #2c3e50;
	color: #2c3e50;
}
.select-area .center {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	width: 100%;
}
.select-disabled {
	background: #eee;
}
.select-area .select-opener {
	background: $white;
	color: $black;
	position: absolute;
	width: 22px;
	height: 22px;
	font: 22px/22px $font-icon;
	right: 15px;
	top: 50%;
	margin: -11px 0 0;
	text-decoration: none;
	cursor: pointer;
	&:after{
		content: "\e90c";
	}
}
.select-options {
	position: absolute;
	overflow: hidden;
	background: #fff;
	z-index: 10;
}
.select-options .opt-disabled a {
	background: #fff !important;
	color: #aaa !important;
}
.select-options .drop-holder {
	border: 1px solid #ededed;
	overflow: hidden;
	
}
.select-options .drop-holder .drop-list {
	overflow-x: hidden; 
	overflow-y: auto;
	max-height: 240px;
}
.select-options ul {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.select-options ul li {
	width: 100%;
	float: left;
}
.select-options ul a {
	text-decoration: none;
	padding: 5px 10px;
	display: block;
	cursor: default;
	color: #555;
	
}
.select-options .item-selected a {
	text-decoration: none;
	background: #eff7ff;
	color: #3498db;
}
/* select options optgroup example styles */
.select-options .optgroup {
	clear: both;
}
.select-options .optgroup strong {
	display: block;
	padding: 5px;
}
.select-options .optgroup ul a {
	padding-left: 30px;
}
/* textarea example styles (optional) */
.text-block .control-wrapper {
	border: 1px solid #777;
	float: left;
}
.text-block textarea {
	font-size: 12px;
	width: 500px;
	height: 150px;
	float: left;
	border: 0;
	margin: 0;
	padding: 0;
}
/* custom file input */
.file-area .jcf-input-wrapper {
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	display: block;
	float: left !important;
	width: 90px !important;
	height: 30px !important;
}
.file-area .jcf-upload-button {
	border: 0;
	padding: 0px 0px;
	background: #24a235;
	color: #fff;
	text-align: center;
	float: left;
	width: 90px;
	height: 30px;
	line-height: 30px;
	border-radius: 4px;
}
.select-circle .file-area .jcf-input-wrapper {
	width: 42px !important;
	height: 42px !important;
}
.select-circle .jcf-upload-button {
	background: $custom-elements-sprite-bg -241px -103px; 
	width: 42px; 
	height: 42px;
	font-size: 0;
}



.file-area .jcf-fake-input {
	// border: 1px solid #777;
	// padding: 10px 15px;
	// float: left;
	// margin: 0 5px;
	// width: 200px;
	// height: 20px;
	display: none !important;
}
.file-disabled .jcf-upload-button {
	border-color: #eee;
	background-color: #eee;
	color: #777;
}
.file-disabled .jcf-fake-input {
	border-color: #eee;
	color: #aaa;
}
/* custom scrollbars styles */
.scrollable-area-wrapper {
	position: relative;
	overflow: hidden;
	width: 100% !important;
	height: auto !important;
}
.scrollable-area-wrapper .hscrollbar,
.scrollable-area-wrapper .vscrollbar {
	position: absolute;
	top: 0px;
	right: 0;
	width: 4px;
}
.scrollable-area-wrapper .hscroll-left,
.scrollable-area-wrapper .vscroll-up,
.scrollable-area-wrapper .hscroll-right,
.scrollable-area-wrapper .vscroll-down {
	background: #777;
	width: 20px;
	height: 20px;
	float: left;
	display: none;
}
.scrollable-area-wrapper .hscroll-line,
.scrollable-area-wrapper .vscroll-line {
	background: $white;
	width: 4px;
	float: left;
}
.scrollable-area-wrapper .hscroll-slider,
.scrollable-area-wrapper .vscroll-slider {
	background: $blue;
	width: 4px;
	height: 20px;
	border-radius: 2px;
}
.scrollable-area-wrapper .hscrollbar {
	position: static;
	height: 20px;
	top: auto;
}
.scrollable-area-wrapper .hscroll-line {
	height: 20px;
	width: auto;
}